Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

APIs moved to torch.hub #673

Closed
wants to merge 1 commit into from

Conversation

thomasshupeng
Copy link

APIs were moved from torch.utils.model_zoo to torch.hub
As results of pytorch change - add/move a few apis in torch.hub

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 15, 2019
Copy link
Contributor

@fmassa fmassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the PR!

This unfortunately wont work with PyTorch 1.0.0 nor 1.0.1
Can you instead do a try / except, so that you first try the new APU, and if it fails, go through the old imports?

@fmassa
Copy link
Contributor

fmassa commented Apr 20, 2019

Subsumed by #698

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants